/*
 Navicat Premium Data Transfer

 Source Server         : centos
 Source Server Type    : MySQL
 Source Server Version : 50737
 Source Host           : 192.168.201.133:3306
 Source Schema         : test

 Target Server Type    : MySQL
 Target Server Version : 50737
 File Encoding         : 65001

 Date: 22/03/2022 15:59:14
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `username` varchar(25) DEFAULT NULL,
  `real_name` varchar(25) DEFAULT NULL,
  `password` varchar(25) DEFAULT NULL,
  `gender` int(1) DEFAULT NULL COMMENT '性别：1 女  2 男',
  `birthday` datetime DEFAULT NULL,
  `user_type` int(1) DEFAULT NULL COMMENT '1管理员  2经理  3普通用户',
  `resign_status` varchar(8) NOT NULL DEFAULT '' COMMENT '离职状态',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of user
-- ----------------------------
BEGIN;
INSERT INTO `user` VALUES (1, 'root', '系统管理员', '123', 1, '2003-11-12 00:00:00', 1, '1');
INSERT INTO `user` VALUES (2, 'lisi', '李四', '123', 2, '1983-11-12 00:00:00', 2, '0');
INSERT INTO `user` VALUES (3, 'wangwu', '王五', '123', 2, '1953-11-12 00:00:00', 3, '否');
INSERT INTO `user` VALUES (4, 'zhangsan', '张三', '123', 1, '1973-11-12 00:00:00', 3, '是');
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
